<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>手术-列表</title>
	<script src="./jquery.js"></script>
</head>
<body>
	请求中...
	<script>
	$(function(){
	    var p = getQueryVariable("p");
		$.get('/index.php/jobs/clin/index/'+p,function(data){
		    if(data == "nodata"){
                alert("完事了");
			}else{
                setTimeout(window.location.href='/list.html?p='+data,3000);
			}

		})
	})
    function getQueryVariable(variable)
    {
        var query = window.location.search.substring(1);
        var vars = query.split("&");
        for (var i=0;i<vars.length;i++) {
            var pair = vars[i].split("=");
            if(pair[0] == variable){return pair[1];}
        }
        return(false);
    }
	</script>
</body>
</html>